﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001149 RID: 4425
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetDisplayAvatarCsReq : IMessage<SetDisplayAvatarCsReq>, IMessage, IEquatable<SetDisplayAvatarCsReq>, IDeepCloneable<SetDisplayAvatarCsReq>, IBufferMessage
	{
		// Token: 0x17003804 RID: 14340
		// (get) Token: 0x0600C608 RID: 50696 RVA: 0x00216B29 File Offset: 0x00214D29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetDisplayAvatarCsReq> Parser
		{
			get
			{
				return SetDisplayAvatarCsReq._parser;
			}
		}

		// Token: 0x17003805 RID: 14341
		// (get) Token: 0x0600C609 RID: 50697 RVA: 0x00216B30 File Offset: 0x00214D30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetDisplayAvatarCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003806 RID: 14342
		// (get) Token: 0x0600C60A RID: 50698 RVA: 0x00216B42 File Offset: 0x00214D42
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetDisplayAvatarCsReq.Descriptor;
			}
		}

		// Token: 0x0600C60B RID: 50699 RVA: 0x00216B49 File Offset: 0x00214D49
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetDisplayAvatarCsReq()
		{
		}

		// Token: 0x0600C60C RID: 50700 RVA: 0x00216B5C File Offset: 0x00214D5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetDisplayAvatarCsReq(SetDisplayAvatarCsReq other) : this()
		{
			this.displayAvatarList_ = other.displayAvatarList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C60D RID: 50701 RVA: 0x00216B86 File Offset: 0x00214D86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetDisplayAvatarCsReq Clone()
		{
			return new SetDisplayAvatarCsReq(this);
		}

		// Token: 0x17003807 RID: 14343
		// (get) Token: 0x0600C60E RID: 50702 RVA: 0x00216B8E File Offset: 0x00214D8E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<DisplayAvatarData> DisplayAvatarList
		{
			get
			{
				return this.displayAvatarList_;
			}
		}

		// Token: 0x0600C60F RID: 50703 RVA: 0x00216B96 File Offset: 0x00214D96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetDisplayAvatarCsReq);
		}

		// Token: 0x0600C610 RID: 50704 RVA: 0x00216BA4 File Offset: 0x00214DA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetDisplayAvatarCsReq other)
		{
			return other != null && (other == this || (this.displayAvatarList_.Equals(other.displayAvatarList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C611 RID: 50705 RVA: 0x00216BD8 File Offset: 0x00214DD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.displayAvatarList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C612 RID: 50706 RVA: 0x00216C0C File Offset: 0x00214E0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C613 RID: 50707 RVA: 0x00216C14 File Offset: 0x00214E14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C614 RID: 50708 RVA: 0x00216C1D File Offset: 0x00214E1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.displayAvatarList_.WriteTo(ref output, SetDisplayAvatarCsReq._repeated_displayAvatarList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C615 RID: 50709 RVA: 0x00216C44 File Offset: 0x00214E44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.displayAvatarList_.CalculateSize(SetDisplayAvatarCsReq._repeated_displayAvatarList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C616 RID: 50710 RVA: 0x00216C7D File Offset: 0x00214E7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetDisplayAvatarCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.displayAvatarList_.Add(other.displayAvatarList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C617 RID: 50711 RVA: 0x00216CAB File Offset: 0x00214EAB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C618 RID: 50712 RVA: 0x00216CB4 File Offset: 0x00214EB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 34U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.displayAvatarList_.AddEntriesFrom(ref input, SetDisplayAvatarCsReq._repeated_displayAvatarList_codec);
				}
			}
		}

		// Token: 0x04004FB5 RID: 20405
		private static readonly MessageParser<SetDisplayAvatarCsReq> _parser = new MessageParser<SetDisplayAvatarCsReq>(() => new SetDisplayAvatarCsReq());

		// Token: 0x04004FB6 RID: 20406
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004FB7 RID: 20407
		public const int DisplayAvatarListFieldNumber = 4;

		// Token: 0x04004FB8 RID: 20408
		private static readonly FieldCodec<DisplayAvatarData> _repeated_displayAvatarList_codec = FieldCodec.ForMessage<DisplayAvatarData>(34U, DisplayAvatarData.Parser);

		// Token: 0x04004FB9 RID: 20409
		private readonly RepeatedField<DisplayAvatarData> displayAvatarList_ = new RepeatedField<DisplayAvatarData>();
	}
}
